package com.hainingtong.miniapp.dao;

import com.hainingtong.miniapp.entity.Author;
import com.hainingtong.miniapp.entity.Blog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.type.Alias;

@Mapper
@Alias("miniBlogMapper")
public interface BlogMapper {

    Blog selectBlog(int id);

    Author selectAuthor(int id);
}
